<template>
    <div>
        <div class="main-top">
            <myhead></myhead>
        </div>
        <div class="main-bto">
            <div class="bto-left">
                <mymenu></mymenu>
            </div>
            <div class="bto-right">
                <div class="r-cub">
                    <navbar></navbar>
                </div>
                <div class="r-main">
                    <router-view></router-view>
                </div>
            </div>
        </div>
    </div>
</template>
<script>
import mymenu from '@/components/layout/menu.vue'
import navbar from '@/components/layout/navbar.vue';
import myhead from '@/components/layout/head.vue'
export default {
    data: () => {
        return {
            msg: ''
        }
    },
    components: {
        mymenu,
        navbar,
        myhead
    }

}
</script>
<style>
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
}

.main-top {
    height: 50px;
    width: 100%;
    border-bottom: 1px solid #eee;
}

.main-bto {
    height: calc(100vh - 51px);
    width: 100%;
    display: flex;
}

.bto-left {
    height: 100%;
    width: 215px;
    padding: 0px;
    border-right: 1px solid #eee;
}

.bto-right {
    flex: 1;
}

.r-cub {
    height: 50px;
    width: 100%;
    border-bottom: 1px solid #eee;
}

.r-main {
    height: calc(100vh - 102px);

}
</style>